package com.surveillance.DAO;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.surveillance.entities.AffectedSurveillants;

@Repository("AffectedSurveillantsDao")
public class AffectedSurveillantsDao extends BaseDao<AffectedSurveillants> {
	public List getAffectedSurveillantsByExamenID(Long examenID) {
		return getHibernateTemplate().find(
				"from AffectedSurveillants where idExamen = " + examenID+" order by salleDes");
	}

}
